package cn.hfjava.kz.mapper;

import cn.hfjava.kz.entity.excel.StudentExcel;
import cn.hfjava.kz.entity.po.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.v3.oas.models.security.SecurityScheme;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 考生数据访问接口
 * @author lds
 */
public interface StudentMapper extends BaseMapper<Student> {

    List<StudentExcel> getStudentExcelByIds(List<Integer> ids);


    public Integer recoverById(Integer id);
    Integer batchInsert(List<StudentExcel> list);
    Integer batchRecoverById(@Param("list") List<Integer> ids);
    @Select("select id from students")
    List<Integer> findIdAll();

//    Integer batchRecoverById(List<Integer> idList);
}
